Asynchronous and synchronous data transmission Truyền_dữ_liệu

Bản mẫu:Misleading

Asynchronous start-stop transmission uses start and stop bits to signify the beginning bit[6][cần dẫn nguồn] ASCII character would actually be transmitted using 10 bits. For example, "0100 0001" would become "1 0100 0001 0". The extra one (or zero, depending on parity bit) at the start and end of the transmission tells the receiver first that a character is coming and secondly that the character has ended. This method of transmission is used when data are sent intermittently as opposed to in a solid stream. In the previous example the start and stop bits are in bold. The start and stop bits must be of opposite polarity.[cần dẫn nguồn] This allows the receiver to recognize when the second packet of information is being sent.

Synchronous transmission uses no start and stop bits, but instead synchronizes transmission speeds at both the receiving and sending end of the transmission using clock signal(s) built into each component.[mơ hồ] A continual stream of data is then sent between the two nodes. Due to there being no start and stop bits the data transfer rate is quicker although more errors will occur, as the clocks will eventually get out of sync, and the receiving device would have the wrong time that had been agreed in the protocol for sending/receiving data, so some bytes could become corrupted (by losing bits).[cần dẫn nguồn] Ways to get around this problem include re-synchronization of the clocks and use of check digits to ensure the byte is correctly interpreted and received